import axios from 'axios'

export default function setAxiosHeaders (statue) {
  axios.defaults.headers.common.Authorization = statue.user
    ? 'Token ' + statue.user.token
    : ''
  // axios.defaults.headers['X-CSRFToken'] = statue.csrftoken
}
